|
Public Member Functions |
| virtual MCCOMErr MCCOMAPI | SegmentFilter (const TVector3 &beg, const TVector3 &end, TMCColorRGBA &inOutFilter, I3DExRaytracer *raytracer, boolean isShadowCasting, boolean renderVolmetricEffects, boolean indirectLight, boolean isSunLightShadowCasting)=0 |
| virtual MCCOMErr MCCOMAPI | DirectionFilter (const TVector3 &origin, const TVector3 &direction, TMCColorRGBA &inOutFilter, I3DExRaytracer *raytracer, boolean renderVolmetricEffects, boolean indirectLight)=0 |
| virtual MCCOMErr MCCOMAPI | GetBackdropColor (const TVector2 &screenPoint, boolean &fullAreaDone, const TBBox2D &screenMinMax, TMCColorRGB &resultColor)=0 |
| virtual MCCOMErr MCCOMAPI | GetEnvironmentColor (const TVector3 &direction, boolean &fullAreaDone, TMCColorRGB &resultColor)=0 |
| virtual boolean MCCOMAPI | HasAtmosphere () const =0 |
| virtual boolean MCCOMAPI | HasBackdrop () const =0 |
| virtual boolean MCCOMAPI | HasBackground () const =0 |
| virtual MCCOMErr MCCOMAPI | SegmentFilter2 (const Ray3D &ray, real64 tmin, real64 tmax, TMCColorRGBA &inOutFilter, I3DExRaytracer *raytracer, boolean isShadowCasting, boolean renderVolmetricEffects, boolean indirectLight, boolean isSunLightShadowCasting)=0 |
| virtual MCCOMErr MCCOMAPI | DirectionFilter2 (const Ray3D &ray, TMCColorRGBA &inOutFilter, I3DExRaytracer *raytracer, boolean renderVolumePrimitives, boolean renderVolmetricEffects, boolean indirectLight)=0 |
There are two interfaces to access a component: The shell interface (ISh. or I3DSh.) and the external interface (IEx. or I3DEx.) . You can get one from the other using QueryInterface.
Whenever it is possible you should use the Shell interface to access the component because the Shell will make sure that the parameter map of the external component is valid. This is especially important if the component is animated. For more information on components see the Overview of the SDK.
This interface provides a convient way to access Atmospheres, Volumetric effects, Background, Backdrops...